import { createRouter, createWebHistory } from "vue-router";
import Home from'../components/home/Home.vue'
import Order from'../components/order/Order.vue'
import User from '../components/user/User.vue'
import City from'../components/Bannercity/City.vue'

const routes = [
  {
	 path:'/',
	 name:'Home',
	 component:Home
  },
  {
  	 path:'/order',
  	 name:'Order',
  	 component:Order
  },
  {
  	 path:'/user',
  	 name:'User',
  	 component:User
  },
  {
  	 path:'/city',
  	 name:'City',
  	 component:City
  }
];

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes,
});

export default router;
